ComponentOne Xamarin Edition
SortAsync<T>(ICollectionView<T>,Expression<Func<T,Object>>,SortDirection) Method
C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > SortAsync Method : SortAsync<T>(ICollectionView<T>,Expression<Func<T,Object>>,SortDirection) Method
The collection view.
The filter path.
The sort direction.
Sorts the collection view according to the specified sort path and direction.
Syntax
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx+d__10`1[T])] 
[Extension()] 
public static Task SortAsync<T>( 
   ICollectionView<T> collectionView, 
   Expression<Func<T,object>> sortPath, 
   SortDirection sortDirection 
) 
where T: class

Parameters

collectionView
The collection view.
sortPath
The filter path.
sortDirection
The sort direction.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List